package jmine.tec.batch.purge;

import jmine.tec.purge.domain.PurgeConfigIdentifier;

/**
 * Identifiers for kernel purge configurations
 * 
 * @author lundberg
 */
public enum BatchPurgeConfigIdentifier implements PurgeConfigIdentifier {
    PHASE_INSTANCE(5L, "phaseInstancePurger"),

    EVENT(6L, "eventPurger");

    private final Long systemId;

    private final String beanName;

    /**
     * Constructor
     * 
     * @param systemId systemId
     * @param beanName beanName
     */
    private BatchPurgeConfigIdentifier(Long systemId, String beanName) {
        this.systemId = systemId;
        this.beanName = beanName;
    }

    /**
     * {@inheritDoc}
     */
    public Long getSystemId() {
        return systemId;
    }

    /**
     * @return beanName
     */
    public String getBeanName() {
        return beanName;
    }
}
